<html><head>
<title>{$pagetitle}</title>
<link rel="stylesheet" href="/static/css/en_style.css" type="text/css" media="screen" charset="utf-8" />
<script src="/static/jssrc/jquery-1.6.js" type="text/javascript"></script>
<link rel="stylesheet" href="/static/css/steps.css" type="text/css" media="screen" charset="utf-8" />
<script src="/static/js/multistep.js?vGis9EFL" type="text/javascript"></script>
<script src="/static/js/index.js" type="text/javascript"></script>
</head>
<body>
<script type='text/javascript'>
function validateEmail($email) {
	var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;
	if( !emailReg.test( $email ) ) {
		return false;
	} else {
		return true;
	}
}
  //<![CDATA[
document.body.className += " js_enabled";
/* validation */
//$(document).ready(function(){$("#new_subscription").validate();$("#step_one").click(function(){$("#step2").addClass('disply_block');});});
$(document).ready(function(){
	$('#new_subscription').submit(function(){
		if(!validateEmail($('#subscription_email_address').val()) || $('#subscription_email_address').val()==''){ 
				$('#subscription_email_address').focus();$('#errorMail').show('slow');return false 
			}
		else return true;})
})
//]]>
</script>
<div class="js_container">
<div class="header1">
	<div class="header_left">
	<a href="/city.php?ename=HCM">
	<img class="fr step_logo" src="/static/img/logo.png" />
	</a>
	</div>
</div>
<div class="form_selection">
<div class='main clearfix' >
	<form action="/subscribe.php" id="new_subscription" method="post" class="groupon_form alt">
                <div class='step_one form_step'>
                	<div class="conf_top"></div>
                        <div class="form_inner">
                        <div class='page_content clearfix' >
                         <fieldset>
                           <div class='input_three_steps'>
                             <div class='header_three_steps'><h1>Nơi bạn ở!</h1></div>
                                <div class="form_list">
                                <select id='subscription_division_id' name='city_id' style='width: 170px;'>
                         		<!--{loop $category $cat $row}-->
                                	<option value="{$row['id']}" >{$row['name']}</option>
                                <!--{/loop}-->
                                </select>
                                </div>
                            </div>
                        </fieldset>
                <div class="form_bottom">
                <div class='button_container'>
	                 <div class='button_sub buttons'>
	                      <a class="button continue js-button js-continue" href="javascript:;" id="step_one"></a>
	                 </div>
                </div>
                  <div class="link_bottom">
				<a href="/about/terms.php" title="Privacy Policy">Điều khoản sử dụng</a> | <a href="/account/login.php" title="Sign in">Đăng nhập</a>
                  </div>
                </div>
                </div>
       			 </div>
       			 <div class="conf_bot"></div>
			</div>
		<div class='step_two form_step disply_block' id="step2" style="left: 1640px; opacity: 0.3;">
		<div class="conf_top"></div>
		        <div class="form_inner">
		        <div class='page_content'>
		              <fieldset>
		              <div class='input_three_steps'>
		                 <div class='header_three_steps'>
							<h2>Địa chỉ Email</h2>
		                 </div>
						<div class="form_list">
							<div class="field subscription_email_address text">
								<input class="prompting_field email required input" id="subscription_email_address" name="email" size="30" title="Please enter a valid email address." type="text" />
							</div>
							<div id="errorMail" style="display: none;">Vui lòng nhập Email hợp lệ!</div>
						</div>
		              </div>
		                </fieldset>
		                <div class="form_bottom">
		                    <div class='button_container'>
		                      <div class='button_sub'>
		                        <div class="buttons" label="false">
		                        <input class="button see_deal  button" id="subscription_submit" name="commit" type="submit" value="" /></div>
		                      </div>
		                    </div>
		                    <div class="link_bottom">
								<a href="/about/terms.php" title="Privacy Policy">Điều khoản sử dụng</a> | <a href="/account/login.php" title="Sign in">Đăng nhập</a>
		                   </div>
		               </div>
		              </div>
		            </div>
			<div class="conf_bot"></div>
		</div>
	</form>
</div>
</div>
</div>
</body></html>